package com.bestsoft.flow.domain;

import com.bestsoft.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * erp 用户订单明细对象 flow_order_dt
 *
 * @author 王识宇
 * @date 2023-08-28
 */
public class FlowOrderDt2 extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 单据ID */
    private Long billNo;

    /** 订单号 */
    private Long orderid;

    /** 企业ID */
    private String entId;

    /** 单据序号 */
    private int billSn;

    /** 序号 */
    private int billSort;

    /** 商品ID */
    private String goodsId;

    /** 商品ID */
    private String goodsname;

    /** 规格 */
    private  String goodsspec;
    /** 原价 */
    private BigDecimal oldprice;

    /** 单价 */
    private BigDecimal price;

    /** 扣率 */
    private Long dedrate;

    /** 数量 */
    private BigDecimal num;

    /** 金额 */
    private BigDecimal amount;

    /** 执行数量 */
    private BigDecimal execnum;

    /** 二维码ID */
    private String qcode;


    /** 放射性活度 */
    private String ufGoodsrat;
    /** 标示时间 */
    private String ufFlagtime;


    /** 特殊要求 */
    private String specRequmts;

    /** 追溯表 */
    private FlowZsDt flowZsDt;
    private FlowOrderMt2 flowOrderMt;

    public String getUfGoodsrat() {
        return ufGoodsrat;
    }

    public void setUfGoodsrat(String ufGoodsrat) {
        this.ufGoodsrat = ufGoodsrat;
    }

    public String getUfFlagtime() {
        return ufFlagtime;
    }

    public void setUfFlagtime(String ufFlagtime) {
        this.ufFlagtime = ufFlagtime;
    }

    public FlowOrderMt2 getFlowOrderMt() {
        return flowOrderMt;
    }

    public void setFlowOrderMt(FlowOrderMt2 flowOrderMt) {
        this.flowOrderMt = flowOrderMt;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname;
    }

    public FlowZsDt getFlowZsDt() {
        return flowZsDt;
    }

    public void setFlowZsDt(FlowZsDt flowZsDt) {
        this.flowZsDt = flowZsDt;
    }

    public Long getOrderid() {
        return orderid;
    }

    public void setOrderid(Long orderid) {
        this.orderid = orderid;
    }

    public String getEntId() {
        return entId;
    }

    public int getBillSn() {
        return billSn;
    }

    public int getBillSort() {
        return billSort;
    }

    public void setBillNo(Long billNo)
    {
        this.billNo = billNo;
    }

    public void setEntId(String entId) {
        this.entId = entId;
    }

    public void setBillSn(int billSn) {
        this.billSn = billSn;
    }

    public void setBillSort(int billSort) {
        this.billSort = billSort;
    }

    public Long getBillNo()
    {
        return billNo;
    }
    public void setGoodsId(String goodsId)
    {
        this.goodsId = goodsId;
    }

    public String getGoodsId()
    {
        return goodsId;
    }
    public void setOldprice(BigDecimal oldprice)
    {
        this.oldprice = oldprice;
    }

    public BigDecimal getOldprice() 
    {
        return oldprice;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setDedrate(Long dedrate) 
    {
        this.dedrate = dedrate;
    }

    public Long getDedrate() 
    {
        return dedrate;
    }
    public void setNum(BigDecimal num) 
    {
        this.num = num;
    }

    public BigDecimal getNum() 
    {
        return num;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setExecnum(BigDecimal execnum) 
    {
        this.execnum = execnum;
    }

    public BigDecimal getExecnum() 
    {
        return execnum;
    }
    public void setQcode(String qcode) 
    {
        this.qcode = qcode;
    }

    public String getQcode() 
    {
        return qcode;
    }

    public void setSpecRequmts(String specRequmts) 
    {
        this.specRequmts = specRequmts;
    }

    public String getSpecRequmts() 
    {
        return specRequmts;
    }

    public String getGoodsspec() {
        return goodsspec;
    }

    public void setGoodsspec(String goodsspec) {
        this.goodsspec = goodsspec;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("billNo", getBillNo())
            .append("goodsId", getGoodsId())
            .append("oldprice", getOldprice())
            .append("price", getPrice())
            .append("dedrate", getDedrate())
            .append("num", getNum())
            .append("amount", getAmount())
            .append("execnum", getExecnum())
            .append("remark", getRemark())
            .append("qcode", getQcode())
            .append("ufGoodsrat", getUfGoodsrat())
            .append("ufFlagtime", getUfFlagtime())
            .append("specRequmts", getSpecRequmts())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("entId", getEntId())
            .append("billSn", getBillSn())
            .append("billSort", getBillSort())
            .append("orderid", getOrderid())
            .append("flowZsDt", getFlowZsDt())
            .append("goodsname", getGoodsname())
            .append("goodsspec", getGoodsspec())
            .append("flowOrderMt", getFlowOrderMt())
            .toString();
    }
}
